package com.myzhouye.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 任务环节配置
 * </p>
 *
 * @author maple
 * @since 2024-01-04
 */
@TableName("task_node_config")
@ApiModel(value = "TaskNodeConfig对象", description = "任务环节配置")
public class TaskNodeConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("任务id")
    private String taskId;

    @ApiModelProperty("环节id")
    private Long nodeId;

    @ApiModelProperty("环节顺序")
    private Integer sort;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public Long getNodeId() {
        return nodeId;
    }

    public void setNodeId(Long nodeId) {
        this.nodeId = nodeId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "TaskNodeConfig{" +
        "id=" + id +
        ", taskId=" + taskId +
        ", nodeId=" + nodeId +
        ", sort=" + sort +
        "}";
    }
}
